package com.qumap.edititem.update.callback;

import com.google.gwt.user.client.Window;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 28.05.11
 * Time: 10:18
 * To change this template use File | Settings | File Templates.
 */
public class DeleteCallback extends  ChangeCallback<Void> {
    @Override
    public void onFailure(Throwable throwable) {
        Window.alert("Item delete failure "+throwable);
    }

    @Override
    public void onSuccess(Void aVoid) {
        display.removeItem(update_item);
    }
}
